FROM openjdk:8-jre
ENV HOME /home
run mkdir HOME
COPY ./my.jar HOME/my.jar
WORKDIR HOME
EXPOSE 8090
ENTRYPOINT ["java", "-jar", "my.jar"]